home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / INFO / DOSTIPS6.ZIP / DOSPRMPT < prev    next >
Text File  |  1987-01-10  |  2KB  |  37 lines

  1.                          Lone Star Look
  2.              (PC World September 1986 Star-Dot-Star)
  3.  
  4.      You can design a DOS prompt that displays the state flag of Texas
  5. on a color system when ANSI.SYS is installed.  The trick is adding
  6. ANSI.SYS commands to the DOS prompt.  When the prompt is displayed,
  7. the ANSI.SYS driver generates the image.  The $p$g near the end of the
  8. PROMPT command displays the current path and the greater-than symbol to
  9. the right of the flag.  When you actually create the PROMPT command,
  10. replace each of the 19 carets (^) with a space, and in the place of
  11. each of the 5 exclamation points, hold down the Alt key, type 223 on
  12. the numeric keypad, and then release the Alt key.
  13.      Instead of scrolling when it reaches the bottom of the screen,
  14. the flag prompt leaves a partially drawn image.  The image, though
  15. perhaps inelegant, is unique.
  16.  
  17. prompt $e[44m^^^$e[47m^^^^^$e[9D$e[1B$e[44;41m^*^$e[47;41m!!!!!$e[9D
  18. $e[1B$e[44m^^^$e[41m^^^^^$e[0m^$e[44m$p$g$e[0m
  19.  
  20. -----------------------------------------------------------------
  21.                         Trouble in Texas
  22.               (PC World January 1987 Star-Dot-Star)
  23.  
  24.      The DOS prompt to display the Texas state flag in PC World Sept
  25. 1986 Star-Dot-Star (above) is not correct.  The flag had a red field
  26. behind its star.  The prompt is also fixed to make it scroll properly
  27. when displayed at the bottom of the screen.
  28.      The result is TEXFLAG2.BAT.  When typing in the prompt command,
  29. remember to replace each caret (^) with a space, each exclamation
  30. point (!) with Alt-223, and each question mark (?) with Alt-219.
  31. The flag on this prompt is drawn in bright white to better match
  32. the intensity of the red and blue stripes.
  33.  
  34. PROMPT $_$_$_$e[22;3H$e[1m$e[44m^^^$e[47m?????$e[23;3H$e[44m^*^
  35. $e[47;41m!!!!!$e[24;3H$e[44m^^^$e[41m^^^^^$e[40m$$$p$g$e[0m$e[2C
  36.  
  37.